package com.decorator.battleclothes;

import com.decorator.iface.Superman;
import com.decorator.kind.SupermanDecorator;

public class IronSuitSupermanDecorator extends SupermanDecorator {
    public IronSuitSupermanDecorator(Superman superman) {
        super(superman);
    }

    @Override
    public void wear() {
        superman.wear();
        skinPutOn();
    }

    private void skinPutOn() {
        System.out.println("Hero {skin: Iron Suit}");  // 钢铁战衣
    }
}
